package com.cyandpos.pad.bankpay;

public class BankData {
    private int payType;//支付类型
    private String transName;
    private int amount;  // 金额
    private int oldAmount;  //原交易金额
    private int refundAmount;//退货金额
    private String oldCheckNo;  //原查询号
    private String oldReferenceNo;//原参考号
    private String oldDate;//原交易日期
    private String oldTrace;// 原交易流水

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    public String getTransName() {
        return transName;
    }

    public void setTransName(String transName) {
        this.transName = transName;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public int getOldAmount() {
        return oldAmount;
    }

    public void setOldAmount(int oldAmount) {
        this.oldAmount = oldAmount;
    }

    public int getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(int refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getOldCheckNo() {
        return oldCheckNo;
    }

    public void setOldCheckNo(String oldCheckNo) {
        this.oldCheckNo = oldCheckNo;
    }

    public String getOldReferenceNo() {
        return oldReferenceNo;
    }

    public void setOldReferenceNo(String oldReferenceNo) {
        this.oldReferenceNo = oldReferenceNo;
    }

    public String getOldDate() {
        return oldDate;
    }

    public void setOldDate(String oldDate) {
        this.oldDate = oldDate;
    }

    public String getOldTrace() {
        return oldTrace;
    }

    public void setOldTrace(String oldTrace) {
        this.oldTrace = oldTrace;
    }

    @Override
    public String toString() {
        return "BankData{" +
                "transName='" + transName + '\'' +
                ", amount=" + amount +
                ", payType=" + payType +
                ", oldAmount=" + oldAmount +
                ", refundAmount=" + refundAmount +
                ", oldCheckNo='" + oldCheckNo + '\'' +
                ", oldReferenceNo='" + oldReferenceNo + '\'' +
                ", oldDate='" + oldDate + '\'' +
                ", oldTrace='" + oldTrace + '\'' +
                '}';
    }

}
